package com.java.factory;

import com.java.dao.UserDao;
import com.java.dao.impl.UserDaoImpl;

/**
 * 工厂实例
 */

public class DynamicFactory {
    public UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
